package com.yidu.springbootdemo.permission.dao;

import com.yidu.springbootdemo.permission.domain.TroleUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TroleUserMapper {
    int deleteByPrimaryKey(String ruId);
    
    int delete(String userid);

    int insert(TroleUser record);

    int insertSelective(TroleUser record);

    int update(TroleUser tro);

    TroleUser selectByPrimaryKey(String ruId);

    int updateByPrimaryKeySelective(TroleUser record);

    int updateByPrimaryKey(TroleUser record);
    
    public List<TroleUser> findAll(String userID);
}